package com.thinkgem.jeesite.modules.sys.entity;

import com.thinkgem.jeesite.common.config.Global;
import com.thinkgem.jeesite.common.persistence.MyBaseEntity;
import com.thinkgem.jeesite.common.persistence.Page;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

/**
 * Created by admin on 2016/12/25.
 */
public class ReverseProduct extends MyBaseEntity{
    private String showUrl;
    private String agentProductId;
    private String agentId;
    private String agentName;
    private Integer shopId;
    private String title;
    private String attr;
    private String orderId;
    private BigDecimal price;
    private Integer quantity;
    private String payTime;
    private String reverseStartTime;
    private String reverseEndTime;
    private String channelId;
    @DateTimeFormat
    private Date beginDate;
    @DateTimeFormat
    private Date endDate;

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getAgentProductId() {
        return agentProductId;
    }

    public void setAgentProductId(String agentProductId) {
        this.agentProductId = agentProductId;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAttr() {
        return attr;
    }

    public void setAttr(String attr) {
        this.attr = attr;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public ReverseProduct() {
        super();
    }

    public ReverseProduct(String id) {
        super(id);
    }

    public String getShowUrl() {
        return showUrl;
    }

    public void setShowUrl(String showUrl) {
        this.showUrl = showUrl;
    }

    public String getReverseStartTime() {
        return reverseStartTime;
    }

    public void setReverseStartTime(String reverseStartTime) {
        this.reverseStartTime = reverseStartTime;
    }

    public String getReverseEndTime() {
        return reverseEndTime;
    }

    public void setReverseEndTime(String reverseEndTime) {
        this.reverseEndTime = reverseEndTime;
    }

    @Override
    public User getCurrentUser() {
        return super.getCurrentUser();
    }

    @Override
    public void setCurrentUser(User currentUser) {
        super.setCurrentUser(currentUser);
    }

    @Override
    public Page getPage() {
        return super.getPage();
    }

    @Override
    public Page setPage(Page page) {
        return super.setPage(page);
    }

    @Override
    public Map<String, String> getSqlMap() {
        return super.getSqlMap();
    }

    @Override
    public void setSqlMap(Map sqlMap) {
        super.setSqlMap(sqlMap);
    }

    @Override
    public void preInsert() {

    }

    @Override
    public void preUpdate() {

    }

    @Override
    public Global getGlobal() {
        return super.getGlobal();
    }

    @Override
    public String getDbName() {
        return super.getDbName();
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
